import React, { Component } from "react";
import { Cross } from "@react-vant/icons";
import "../style/Active.css";

import { useNavigate } from "react-router-dom";

function Activity_Detail() {
  const navigate = useNavigate();
  return (
    <div className="div_one">
      <Cross
        style={{
          position: "absolute",
          top: "25px",
          left: "25px",
          width: "35px",
          height: "35px",
          color: "#FFF",
        }}
        onClick={() => {
          navigate(-1);
        }}
      />
    </div>
  );
}

export default Activity_Detail;
